package com.xbaoziplus.simple_spring.beans;

/**
 * @author xbaozi
 * @version 1.0
 * @classname UserService
 * @date 2023-04-17  18:48
 * @description 模拟UserService对象类
 */
public class UserService {

    private String uId;

    private UserDao userDao;

    public void queryUserInfo() {
        System.out.println("查询用户 [" + userDao.queryUserName(uId) + "] 信息……");
    }

    public String getUId() {
        return uId;
    }

    public void setUId(String uId) {
        this.uId = uId;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
